package com.XinYun.Library.modules.Register.Service;

import com.XinYun.Library.modules.Register.Entity.User;

public interface UserService {
    /**
     * 判断该学号是否已被注册
     * @param sid
     * @return
     * @throws Exception
     */
    boolean isExist(String sid) throws Exception;

    /**
     * 插入新的注册信息，用于注册
     * @param intername
     * @param sid
     * @param password
     * @param mail
     * @return
     * @throws Exception
     */
    boolean insert(String intername,String sid,String password,String mail) throws Exception;



}
